package cn.com.infohold.test.json;

import java.util.Arrays;

public class People {
	private String name = "xxx";
	private int age;
	private String job;
	private Address address;
	private String[] hobbies;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	public String[] getHobbies() {
		return hobbies;
	}
	public void setHobbies(String[] hobbies) {
		this.hobbies = hobbies;
	}
	@Override
	public String toString() {
		return "People [name=" + name + ", age=" + age + ", job=" + job
				+ ", address=" + address + ", hobbies="
				+ Arrays.toString(hobbies) + "]";
	}
}
